home *** CD-ROM | disk | FTP | other *** search
/ SuperHack / SuperHack CD.bin / CODING / CPP / VCW411.ZIP / MAINWIN.H < prev    next >
Encoding:
C/C++ Source or Header  |  1995-05-10  |  1.6 KB  |  76 lines

  1. #ifndef   __MAINWIN_H
  2. #define   __MAINWIN_H
  3.  
  4. // -[Keep_Heading]-
  5.  
  6.  
  7. // -[Copyright_Mesg]-
  8. // --------------------------------------------------------------- //
  9. // (c) Copyright 1993-1994. Step Ahead Software Pty Limited. All rights reserved.
  10. // Class Header Filename: MAINWIN.h
  11. // Description: 
  12. // Main window of graphics application.
  13. // --------------------------------------------------------------- //
  14. #define    CC_GEN    1
  15. #include    <OWL.H>  // Automatically added before TWindow
  16. #include    <WINDOW.h>
  17.  
  18.  
  19. // -[Keep_h_Extras]-
  20. #include    <array.h>        // Container class library array
  21.  
  22.  
  23. // -[Class_Dec]-
  24. class GraphicWindow;
  25. typedef GraphicWindow * PGraphicWindow;
  26. typedef GraphicWindow & RGraphicWindow;
  27. typedef GraphicWindow * & RPGraphicWindow;
  28. typedef const GraphicWindow * PCGraphicWindow;
  29. typedef const GraphicWindow & RCGraphicWindow;
  30.  
  31.  class GraphicWindow : public TWindow
  32. {
  33. // -[Keep_Class_Extras]-
  34.  
  35.  
  36. // -[Member_Data_Decs]-
  37.   public:
  38.   protected:
  39.   private:
  40.   public:
  41.       PArray displays;
  42.  
  43.  
  44. // -[Member_Function_Decs]-
  45.   public:
  46.  
  47.     GraphicWindow(PTWindowsObject AParent, LPSTR ATitle);
  48.  
  49.     virtual void Paint(HDC hDC, PAINTSTRUCT _FAR &);
  50.  
  51.     virtual void WMLButtonDown(RTMessage Msg)
  52.       = [WM_FIRST + WM_LBUTTONDOWN];
  53.   protected:
  54.   private:
  55.  
  56.  
  57. // -[Persistent_1]-
  58. };
  59.  
  60. // -[Persistent_2]-
  61.  
  62.  
  63. // -[Keep]-
  64.  
  65.  
  66. // -[Global_Data_Decs]-
  67.  
  68.  
  69. // -[Global_Function_Decs]-
  70.  
  71. int PASCAL WinMain(HANDLE hInstance, HANDLE hPrevInstance, LPSTR lpCmdLine, int nCmdShow);
  72.  
  73. // -[Function_Defs]-
  74.  
  75. // -[End_Cond]-
  76. #endif    __MAINWIN_H